package org.codefinger.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

public class QueryUtil {

	public static MapBuilder getMapBuilder(ResultSet resultSet, String[] names) throws SQLException {
		return new MapBuilder(resultSet, names);
	}

	public static <T> PojoBuilder<T> getPojoBuilder(Class<T> clas, ResultSet resultSet, String[] names) {
		return new PojoBuilder<T>(resultSet, names, clas);
	}

}
